package com.gydz.gydzbaseframeworkboot.BaseControl.service.impl;

import com.gydz.gydzbaseframeworkboot.BaseControl.dao.UserInfoMapper;
import com.gydz.gydzbaseframeworkboot.BaseControl.domain.UserInfo;
import com.gydz.gydzbaseframeworkboot.BaseControl.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("UserInfoService")
public class UserInfoServiceImpi implements UserInfoService {

    @Autowired
    UserInfoMapper userInfoMapper;

    @Override
    public UserInfo getByUserAccount(String userAccount) {
        return userInfoMapper.getByUserAccount(userAccount);
    }

    @Override
    public String getUserAuthorityInfo(long id) {
        return userInfoMapper.getUserAuthorityInfo(id);
    }
}
